<?php
use think\facade\Cache;

function redis(){
    return Cache::store('redis')->handler();
}
